module.exports = {
    // 其它配置
    title: '靓仔UI',
    base: '/light-ui-docs/',
    dest: 'public',
    head: [
        ['script', { src: 'https://cdn.jsdelivr.net/npm/react/umd/react.production.min.js' }],
        ['script', { src: 'https://cdn.jsdelivr.net/npm/react-dom/umd/react-dom.production.min.js' }],
        ['script', { src: 'https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js' }],
        ['script', { src: 'https://cdn.jsdelivr.net/npm/@babel/standalone/babel.min.js' }],
        ['link', { rel: 'manifest', href: '/manifest.json' }],
        ['link', { rel: 'apple-touch-icon', href: '/favicon.ico' }],
    ],
    plugins: [
        'demo-block'
    ],
    themeConfig: {
        lastUpdated: true,
        description: '行动不一定带来快乐，而无行动则决无快乐',
        nav: [
            { text: '首页', link: '/', icon: 'reco-home' },
            { text: '码云', link: 'https://gitee.com/caohuiboss' },
            { text: '必应', link: 'https://cn.bing.com/' }
        ],
        type: 'blog',
        blogConfig: {
            category: {
                location: 2, // 在导航栏菜单中所占的位置，默认2
                text: 'Category' // 默认 “分类”
            },
            tag: {
                location: 3, // 在导航栏菜单中所占的位置，默认3
                text: 'Tag' // 默认 “标签”
            }
        },
        sidebar: [
            {
                title: '靓仔UI',
                collapsable: true,
                children: [
                    '/light-ui/ICON-图标.md',
                    '/light-ui/Button-按钮.md',
                    '/light-ui/Card-卡片.md',
                    '/light-ui/Dialog-弹窗.md',
                    '/light-ui/Input-输入框.md',
                    '/light-ui/Layout-布局.md',
                    '/light-ui/Tag-标签.md',
                ]
            }
        ]
    },
    markdown: {
        // 显示代码块行号
        lineNumbers: true
    }
}
